package xcu.lxj.nettychat.chat.domain.vo.request;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

//消息基础请求体

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "消息的基础请求体")
public class ChatMessageBaseReq {
    @NotNull
    @Schema(description = "消息id",requiredMode = Schema.RequiredMode.REQUIRED)
    private Long msgId;

    @NotNull
    @Schema(description = "会话id",requiredMode = Schema.RequiredMode.REQUIRED)
    private Long roomId;
}

